if (${input$entity} instanceof ServerPlayer _player) _player.setGameMode(GameType.${generator.map(field$gamemode, "gamemodes")});